home *** CD-ROM | disk | FTP | other *** search
/ Commodore 64 Scene Diskmags Assortment / Commodore_CEE_Vol._1_Issue_06_1995_Jack_Vander_White_Disk_1_of_3_Side_A.d64 / mac to 64 < prev    next >
Text File  |  2023-02-26  |  6KB  |  104 lines

  1. Subject: Mac <--> C64 Interface?
  2.  
  3. An exchange of messages on Internet.
  4.  
  5. ---------------------
  6. FROM{CBM--}  Antony N. Lord                
  7. At{CBM--} The University of Western Australia
  8.  
  9. I would really like to tether my C64 to my Mac and have a bit of fun.If anone has any references or experiences I would be glad to hear from you.
  10.  
  11. ----------------
  12. From: fr94tmg@ing.umu.se (Tomas Moberg) in Sweden:
  13.  
  14. I used to hook up a HP48 to a MAC and I only remember that the MAC doesn't use rs232. But one could turn the MAC signal easily into a rs232 some how (sorry was a long time ago and I dont remember how , You only shorted some pins or so). But first You would need a rs232 interface for Your c64 and a terminal program.
  15.  
  16. have not made this post ,I just found it on comp.sys.hp48 and modified it a bit.
  17.  
  18. Many people routinely ask for a pinout diagram for the mini DIN-8 connector; Figure 1.2.3 shows the pinout as if you were looking at the (female) connector on your Macintosh; the (male) cable connector will be a mirror image. (Figure artwork by Ben Cranston)
  19.  
  20. Mini DIN-8 Macintosh Serial Connector Pinout
  21.  
  22.        /------###------\         1 HSKo        Output Handshake
  23.      /        ###        \                      (Zilog 8530 DTR pin)
  24.    /                       \     2 HSKi/CLK    Input Handshake *OR*
  25.   /     [{CBM--}]   [{CBM--}]   [{CBM--}]     \                   External Clock
  26.  /       8     7     6       \   3 TxD-        Transmit data (-)
  27. {CBM--}                             {CBM--}
  28. {CBM--}                             {CBM--}  4 Ground      Signal ground
  29. {CBM--}     ===       ===    ===    {CBM--}
  30. {CBM--}      5         4      3     {CBM--}  5 RxD-        Receive data (-)
  31. {CBM--}                             {CBM--}
  32. {CBM--}                             {CBM--}  6 TxD+        Transmit data (+)
  33.  \----+    ===   ===    +----/
  34.   \###{CBM--}     2     1     {CBM--}###/    7 N/C         (no connection)
  35.    \##{CBM--}                 {CBM--}##/
  36.      \{CBM--}                 {CBM--}/       8 RxD+        Receive data (+)
  37.        \------###------/
  38.               ###
  39.  
  40.                                 Figure 1.2.3
  41.  
  42. Note that the mac interface is RS422, which has 2 wires for transmit and 2 for receive, whereas the 48 interface has only 1 wire for each. Do the connections like this:
  43.  
  44. Mac:                       HP48:(c64)
  45.  
  46. TxD-    -----------------  RX
  47. RxD+    ---+-------------  GND
  48.            {CBM--}
  49. GND     ---+
  50. RxD-    -----------------  TX
  51. Shield  -----------------  Shield
  52.  
  53.  
  54. All other mac pins don't need to be connected. Then configure your communication software on the mac to use XON/XOFF flow control.
  55. Good luck!
  56.  
  57. ------------------
  58. From: Doug Cotton <cmd-doug@genie.geis.com>
  59. Organization: Creative Micro Designs, Inc.
  60.  
  61. I transfer between Mac & Commodore 8-bit all the time, since we use Macs to produce Commodore World. I use a standard Mac high-speed modem cable attached to a DB-9/DB-25 Null-modem cable which is in turn attached to a SwiftLink. I do most of the transfers using Zterm on the Mac and Dialogue 128 on the Commodore, but that's mostly user preference... most any term program will do. By using SL and having the high-speed modem cable on the Mac, transfer rates of up to 38,400 bps can be handled using hardware handshaking (RTS/CTS).
  62.  
  63. I've also written a BASIC program in "Chipmunk BASIC" on the Mac to convert Commodore BASIC programs to text.
  64.  
  65. ----------------
  66. From: c8923075@cs.newcastle.edu.au (Chris Baird) In: Australia
  67.  
  68. I was tiding up my Usenet archives from several years ago and discovered these instructions (of mine) for a simple 3-wire serial cable connecting a '64 to a Macintosh. I'll hazard someone else out there could find them useful too.
  69.  
  70. (And the original cable I made is still working flawlessly today--sans the occasional wire breaking off at the pin...)
  71.  
  72. [Quite a few years ago] I asked for info on connecting my 64 to a Mac Plus via a null-modem cable. Thanks to a few people (mostly Steve Coan), I'd managed to get a RS232 converter built and working, and had a few successful transfers before the bloody thing fell to bits on me.
  73.  
  74. The main problem with RS-232 on the 64, is that it doesn't comply with the RS232 standard (ie: instead of a -ve voltage level for "1", the 64 expects a TTL +5V), so you're required to have an inverter for the signals.
  75.  
  76. But...
  77.  
  78. The serial port on the Macintosh is actually a RS-422, and the hardware it uses for that is a differential amplifier, and so having two lines for each data line (an inverting & non-inverting input to the op-amp). To emulate the RS-232, the 422 port has the received data fed into the RxD- pin, and the RxD+ line grounded; the op-amp them producing a TTL "1" from a -ve signal. Also, the transmitted data is taken from the TxD- pin.
  79.  
  80. As anyone who has studied op-amps will tell you, inverting things generally involves swapping the inverting and non-inverting inputs.
  81.  
  82. [lets cut to the chase --cjb1994]
  83.  
  84. I've successfully used the following cable to connect the two machines via a 3-line interface:
  85.  
  86. [The pin numbers are for the "mini-din-8" connector of a MacPlus. For earlier Macs with the DB9 connectors, just use the corresponding pins (whatever they are, I've forgotten).]
  87.  
  88.   You'll need:  1) 24 way edge connector suitable for the User port
  89.                 2) Plug suitable for the RS-422 port
  90.                 3) 3-core (at least) wire
  91.                 4) Heatshrink tubing preferred but not essential
  92.                [5) A wiring diagram for the 64's User port)]
  93.   Wiring:
  94.         GND     to      pin 4: Ground
  95.         CB2     to      pin 8: RxD+
  96.   CB1 & PB0 shorted together and connected to pin 6: TxD+
  97.   PB1 & PB2 shorted together
  98.  
  99. It may be best to ground the RxD- line, but I didn't see it as necessary for just a simple link between two machines.
  100.  
  101. -------------------
  102.  
  103.  
  104.